package com.lxf.service.Impl;

import com.lxf.bean.Student;
import com.lxf.dao.Impl.StudentDaoImpl;
import com.lxf.dao.StudentDao;
import com.lxf.service.StudentService;

import java.util.List;

public class StudentServiceImpl implements StudentService {
private StudentDao dao = new StudentDaoImpl();
    @Override
    public List<Student> getStudents(String username,String stuno,int sex,int pageIndex,int pageSize) {
        return dao.getStudents(username, stuno, sex,pageIndex,pageSize);
    }

    @Override
    public int total(String username, String stuno, int sex) {
        return dao.total(username, stuno, sex);
    }
}
